package com.youth.youthservice.controller;


import com.youth.commonutils.R;
import com.youth.youthservice.service.UserAnnounceTagsService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author huangqicai
 * @since 2023-03-23
 */
@RestController
@RequestMapping("/eduservice/user-announce-tags")
public class UserAnnounceTagsController {

    @Autowired
    private UserAnnounceTagsService userAnnounceTagsService;

    @ApiOperation(value = "确认公告")
    @GetMapping("/confirm/{annoId}")
    public R confirm(@PathVariable(value = "annoId") String annoId){
        return userAnnounceTagsService.confirm(annoId);
    }

}

